package com.zzh.lib.core.model;


import androidx.annotation.NonNull;

/**
 * Created by zzh on 2025/3/25.
 *
 * @date: 2025/3/25 11:00
 * @email: zzh_hz@126.com
 * @author: zzh
 * @description: com.zzh.lib.core.model
 */
public class LogInfo {
    public String dateTime;
    public String className;
    public String methodName;
    public int lineNumber;
    public String message;
    public String filePath;


    public LogInfo(String className, String methodName, int lineNumber, String message,
                   String dataTime, String filePath) {
        this.className = className;
        this.methodName = methodName;
        this.lineNumber = lineNumber;
        this.message = message;
        this.dateTime = dataTime;
        this.filePath = filePath;
    }

    @NonNull
    @Override
    public String toString() {
        return dateTime + " [" + className + ":" + methodName + ":" + lineNumber + "] " + message;
    }
}
